#ifndef HOUSEEMITTER_H_
#define HOUSEEMITTER_H_

#include "RandomTimeEmitter.h"
#include "HousePart.h"
#include "TextureLoader.h"
#include "CubePileGrid.h"


#include <vector>

using namespace std;

class HouseEmitter : public RandomTimeEmitter
{
	vector<HousePart *> houseParts;
public:
	HouseEmitter(TextureLoader * textureLoader, CubePileGrid * aCubePiles);
	virtual ~HouseEmitter(){}
	virtual void emitTo(CubePileGrid * cubePiles);
	virtual bool isFinishedEmitting();
	virtual void add(HousePart * part);
};

#endif /*HOUSEEMITTER_H_*/
